<!-- 成员管理 -->
<div data-ng-controller="MembersCtrl" style="padding: 45px">
    <!-- 成员列表 -->
    <table class="table table-responsive">
        <thead>
        <tr>
            <th>账号</th>
            <th>昵称</th>
            <th>名字</th>
            <th>登录时间</th>
            <th>登出时间</th>
            <th>管理</th>
        </tr>
        </thead>
        <tbody>
        <tr ng-repeat="u in userQuery.data">
            <td>{{u.username}}</td>
            <td>{{u.nickname}}</td>
            <td>{{u.name}}</td>
            <td>{{u.loginTime | date:'yyyy/MM/dd hh:mm:ss'}}</td>
            <td>{{u.logoutTime | date:'yyyy/MM/dd hh:mm:ss'}}</td>
            <td><a style="cursor: pointer" ng-click="alterAuthorize(u)">授权</a>
                &nbsp;|&nbsp;
                <a style="cursor: pointer" ng-click="setNewPassword(u)">密码</a>
            </td>
        </tr>
        </tbody>
    </table>
    <ul class="pagination pagination-sm pull-right" ng-repeat="num in userQuery.pageNumbers">
        <li><a ng-click="listUsers(num)">{{num}}</a></li>
    </ul>
</div>